<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/6/3 0003
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form>
    <a href="${pageContext.request.contextPath}/views/role-add.jsp">添加</a>
<table>
    <thead>
        <tr><td><input type="checkbox"></td><td>id</td><td>角色名称</td><td>角色描述</td><td>操作</td></tr>
    </thead>
    <tbody>
        <c:forEach items="${roleList}" var="role">
            <tr><td><input type="checkbox"></td><td>${role.id}</td><td>${role.roleName}</td><td>${role.roleDesc}</td><td>删除</td></tr>
        </c:forEach>
    </tbody>
</table>
</form>
</body>
</html>
